import moment from "moment";

const format = (date: Date) => {
  return moment(date).format("YYYY-MM-DD HH:mm:ss");
};

export default { format };
